Skip to content

[Snyk] Security upgrade aegir from 14.0.0 to 15.0.0#251

Open
adamlaska wants to merge 1 commit intoCircleCI-v2from
snyk-fix-0aaba47878e852acc3a48f1c2f2a3598
Open

[Snyk] Security upgrade aegir from 14.0.0 to 15.0.0#251
adamlaska wants to merge 1 commit intoCircleCI-v2from
snyk-fix-0aaba47878e852acc3a48f1c2f2a3598

Conversation

@adamlaska
Copy link
Copy Markdown
Owner

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.

Changes included in this PR

  • Changes to the following files to upgrade the vulnerable dependencies to a fixed version:
    • examples/circuit-relaying/package.json

Vulnerabilities that will be fixed

With an upgrade:
Severity Priority Score (*) Issue Breaking Change Exploit Maturity
high severity 768/1000
Why? Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 7.5
Prototype Pollution
SNYK-JS-LODASH-6139239
Yes Proof of Concept

(*) Note that the real score may have changed since the PR was raised.

Commit messages
Package name: aegir The new version differs by 27 commits.

See the full diff

Check the changes in this PR to ensure they won't cause issues with your project.


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report

🛠 Adjust project settings

📚 Read more about Snyk's upgrade and patch logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Prototype Pollution

@google-cla
Copy link
Copy Markdown

google-cla Bot commented Apr 16, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@socket-security
Copy link
Copy Markdown

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/html-webpack-plugin@3.2.0 filesystem, unsafe Transitive: environment, eval, network, shell +102 7.22 MB jantimon
npm/http-server@0.11.2 filesystem, network Transitive: environment, eval, shell +30 1.7 MB thornjad
npm/libp2p-kad-dht@0.10.6 Transitive: environment, filesystem +59 21.3 MB vascosantos
npm/libp2p-mdns@0.12.3 Transitive: environment, filesystem, network +67 20.3 MB jacobheun
npm/libp2p-mplex@0.8.5 Transitive: filesystem +11 1.65 MB vascosantos
npm/libp2p-railing@0.9.2 Transitive: environment, filesystem +46 27.3 MB vascosantos
npm/libp2p-secio@0.10.1 Transitive: environment, filesystem, shell +61 39.7 MB daviddias
npm/libp2p-spdy@0.12.1 None +11 2.16 MB daviddias
npm/libp2p-tcp@0.12.1 network +9 2.32 MB jacobheun
npm/libp2p-websocket-star@0.8.1 Transitive: environment, filesystem, network, shell +74 23.8 MB daviddias
npm/libp2p@0.22.0 Transitive: environment, filesystem, network, unsafe +112 119 MB daviddias
npm/mime-sniffer@0.0.3 filesystem 0 4.85 kB rosszurowski
npm/uglifyjs-webpack-plugin@1.3.0 eval Transitive: environment, filesystem, shell, unsafe +48 4.37 MB evilebottnawi
npm/webpack-cli@3.3.12 environment, filesystem, shell, unsafe +122 2.75 MB evilebottnawi
npm/webpack@4.47.0 environment, filesystem, unsafe Transitive: eval, network, shell +247 15.3 MB thelarkinn

🚮 Removed packages: npm/aegir@14.0.0

View full report↗︎

@socket-security
Copy link
Copy Markdown

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSource
Install scripts npm/secp256k1@3.8.0
  • Install script: install
  • Source: npm run rebuild || echo "Secp256k1 bindings compilation fail. Pure JS implementation will be used."
Install scripts npm/ursa-optional@0.10.2
  • Install script: install
  • Source: node rebuild.js
Install scripts npm/ursa-optional@0.9.10
  • Install script: install
  • Source: node rebuild.js
Potential typo squat npm/chunky@0.0.0

View full report↗︎

Next steps

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

What is a typosquat?

Package name is similar to other popular packages and may not be the package you want.

Use care when consuming similarly named packages and ensure that you did not intend to consume a different package. Malicious packages often publish using similar names as existing popular packages.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/secp256k1@3.8.0
  • @SocketSecurity ignore npm/ursa-optional@0.10.2
  • @SocketSecurity ignore npm/ursa-optional@0.9.10
  • @SocketSecurity ignore npm/chunky@0.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants